/*
 * @Author: libing 9852442+liu-sheng-8667@user.noreply.gitee.com
 * @Date: 2024-05-22 21:29:31
 * @LastEditors: libing 9852442+liu-sheng-8667@user.noreply.gitee.com
 * @LastEditTime: 2024-05-23 23:47:58
 * @FilePath: \crm\apis\user.js
 * @Description: 
 */
// import { service } from "@/config/request";

// 登录接口
export function login(params = {}) {
	// return service({ path: "", params });
}

// 获取用户信息
export function getUserInfo(params = {}) {
	return uni.$z.request({
		path: "/admin/user/info",
		method: "get",
		params
	});
}

// 退出登录
export function logout(params = {}) {
	return uni.$z.request({
		path: "/auth/token/logout",
		method: "delete",
		params
	});
}